package donajurema.model;

/**
 * @author felipe.cavalcanti
 *
 */
public enum Units
{
    g, kg, ml, liter, pack, portion, dozen, item, each;
    
	static public Units getDefault()
	{
		return Units.item;
	}
	
    static public String getUnits()
	{
	    String s = "Available units: ";
    	Units allUnits[] = Units.values(); 
	    for(Units unit : allUnits)
	    	s += unit.toString() + " ";
	    return s;
	}
}
